import logging
def test_log():
    logging.basicConfig(filename="log.log",filemode="a+",level=logging.DEBUG,format="%(filename)s-%(asctime)s-%(message)s")